package Test;

/**
 * 飞机
 * 
 * @author Administrator
 *
 */
public class Airplane implements Flight {
	private String name;

	public Airplane(String name) {
		this.name = name;
	}

	public void fly() {
		System.out.println(name + "消耗汽油去飞行,不属于鸟类");
	}

}
